home *** CD-ROM | disk | FTP | other *** search
- Path: news.compuserve.com!newsmaster
- From: 101611.2710@compuserve.com (Ralf Graf)
- Newsgroups: comp.lang.c++
- Subject: Re: Q: Access DS in Vis. C++ 2.0? ***Please*** help!
- Date: Tue, 02 Apr 1996 06:26:10 -0500
- Organization: CompuServe Incorporated
- Message-ID: <S7QYxM8v9DiP090yn@compuserve.com>
- References: <315A2548.724E@sunpool.cs.uni-magdeburg.de>
- Reply-To: 101611.2710@compuserve.com
- NNTP-Posting-Host: hd77-113.compuserve.com
-
- In article <315A2548.724E@sunpool.cs.uni-magdeburg.de>, Uwe Ilgenstein wrote:
- >Hi:
- > How can I access the DS register in Visual C++ 2.0?
- >I have this piece of software that was originally compiled
- >with Borland C++ 3.4 and that uses code like:
- >
- > register int dataSeg;
- > void *newAddress;
- > dataSeg = _DS;
- > _DS = currentBlock;
- > newAddress = (void *) LocalAlloc(LPTR, size);
- > _DS = dataSeg;
- >
- >Any help, hints, or suggestions are greatly appreciated.
- >
- >Thanks,
- >Thorsten
- >
- >P.S. Please reply via e-mail, most groups on my nttp host have a one day
- >expire and articles often get lost!
-
- What has this thing to do on comp.lang.c++?
- Try one of the windows or ms-dos (uurrrggghhhh) newsgroups!
-
- Greetings
-
- Ralf Graf
- *****************************************
- * Using OS/2 Warp & Linux 1.2.13 *
- * Location: Duesseldorf / Germany *
- * e-mail: 101611.2710@compuserve.com *
- *****************************************
-